package com.tutu.user.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.tutu.user.entity.SysMenuInfo;
import com.tutu.user.entity.SysMenuInfoExample;

public interface SysMenuInfoMapper {
    int countByExample(SysMenuInfoExample example);

    int deleteByExample(SysMenuInfoExample example);

    int deleteByPrimaryKey(String menuId);

    int insert(SysMenuInfo record);

    int insertSelective(SysMenuInfo record);

    List<SysMenuInfo> selectByExample(SysMenuInfoExample example);

    SysMenuInfo selectByPrimaryKey(String menuId);

    int updateByExampleSelective(@Param("record") SysMenuInfo record, @Param("example") SysMenuInfoExample example);

    int updateByExample(@Param("record") SysMenuInfo record, @Param("example") SysMenuInfoExample example);

    int updateByPrimaryKeySelective(SysMenuInfo record);

    int updateByPrimaryKey(SysMenuInfo record);
    
    List<SysMenuInfo> getSysMenuInfoByUserId(Map<String, Object> map);
}